home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WMP 3.xpl < prev    next >
Text File  |  2002-11-05  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Built in Windows Apps\Windows Media Player"
  5. "UIPATH 2"="Internet\Windows Media Player"
  6. "NAME"="DVD functionality"
  7. "LANGUAGE"="VBScript"
  8. "VERSION"="1.18"
  9. "TEXT 1"="Enable DVD functionality"
  10. "DESCRIPTION 1"="When enabled, this allows you to play DVD videos in Windows Media Player. For this to work, you must already have a supported third-party DVD playing program. This only functions in Windows Media Player 6.x under Windows 95/98 and in 8.x under Windows XP -  it does not work at all under 7.x."
  11. "AUTHOR"="Xteq Systems"
  12. "CONTACTURL"="http://www.xteq.com"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"=" "
  15.  
  16.  
  17.  
  18. sV2="HKCU\Software\Microsoft\MediaPlayer\Player\Settings\EnableDVDUI" 'STR - yes/no 
  19.  
  20. 'Called when the Plugin is started
  21. SUB Plugin_Initialize  
  22.   i=RegReadValue(sV2)
  23.   if i="yes" then SetUIElement 1,true
  24. END SUB
  25.  
  26. 'Called when the Plugin should validate the Data the user has entered
  27. SUB Plugin_CheckData(ElementIndex)
  28. END SUB
  29.  
  30.  
  31.  
  32. 'Called when the Plugin should apply the changes
  33. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  34.  if GetUIElement(1)=true then
  35.     Call RegWriteValue(sV2,"yes",1)
  36.  else
  37.     Call RegWriteValue(sV2,"no",1)
  38.  end if
  39. END SUB
  40.  
  41.  
  42.  
  43. 'Called when the Plugin is about to be removed from memory
  44. SUB Plugin_Terminate
  45. END SUB
  46.  
  47.